package com.atguigu04.example.exer1;

/**
 * ClassName: Person
 * Package: com.atguigu04.example.exer1
 * Description:
 *
 * @Author BuTang
 * @Create 2023/2/27 16:02
 * @Version 1.0
 */
public class Person {
    String name;
    int age;
    char gender;
    public void study(){
        System.out.println("studing");
    }
    public int showAge(){
        return age ;
    }
    public void addAge(int addAge){
        age += addAge;
        System.out.println(age);
    }
}
